complete the square (x^2-2x